/* @group General */

body {
	font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
	color: #3f3f3f;
}

input, textarea {
	font: inherit;
	color: inherit;
}

.nowrap {
	white-space: nowrap;
}

/* @end */

/* @group Headings */

h1, h2, h3 {
	color: #707070;
	margin-bottom: .3em;
}

h1 a, h2 a, h3 a {
	color: #407fff;
}

h1 {
	font-size: 18px;
}

h2 {
	font-size: 15px;
}

h3 {
	font-size: 13px;
	margin-bottom: .5em;
}

#title {
	color: #3c3c3c;
	font: normal normal 22px/1.5em Georgia, "Times New Roman", Times, serif;
	border-bottom: 1px solid #3c3c3c;
}

/* @end */

/* @group Flash / Paragraphs */

p {
	margin: 0 0 1.5em 0;
}

#flash-notice, #flash-error, p.notice, p.warning {
	padding: 10px;
	text-align: center;
	color: #363636;
}

#flash-notice, p.notice {
	background-color: #e9f0ff;
	border: 1px solid #6b9cff;
}

#flash-error, p.warning {
	background-color: #ffd6d7;
	border: 1px solid #ff7878;
}

p.note {
	color: #656565;
	font-size: 12px;
}

.form.wide p.note {
	clear: left;
	text-align: center;
}

p.buttons {
	line-height: 2em;
}

/* @end */

/* @group Links */

a {
	color: #1b64c0;
	text-decoration: none;
}

a:hover {
	color: #0065ff;
	text-decoration: underline;
}

a.hidden {
	color: inherit;
	text-decoration: inherit;
}

a.hidden:hover {
	color: #0065ff;
	text-decoration: underline;
}

/* @end */

/* @group Tables */

/* @group Listing */

table.listing {
	border-collapse: collapse;
	margin: 1em 0;
}

table.listing th {
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 5px 2px 0;
	white-space: nowrap;
	color: #909090;
}

table.listing th.long {
	white-space: normal;
}

table.listing tr.even {
	background-color: #c6d8ff;
}

table.listing tr.hidden {
	color: #989898;
}

table.listing tr.unverified {
  color: #989898;
}

table.listing td {
	padding: 2px 10px 2px 0;
	text-align: center;
	white-space: nowrap;
}

table.listing td.text, table.listing th.text {
	text-align: left;
	white-space: normal;
}

table.listing td.number {
	font-family: Georgia, "Times New Roman", Times, serif;
}

table.listing td.more {
	text-align: left;
}

table.listing td.club {
	white-space: normal;
}



/* @end */

/* @group Reference */

table.reference {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}

table.reference td, table.reference th {
	border: 1px solid #555;
	padding: 2px;
}

table.reference th {
	background-color: #bbdefc;
}

table.reference p {
	margin: 0;
}

/* @end */

table.full-width {
	width: 100%;
}

td.nowrap, th.nowrap {
	white-space: nowrap;
}

/* @end */

/* @group Forms */

/* @group Errors */

.errorExplanation {
	border: 1px solid #9a0003;
	width: 500px;
	margin: 20px 0;
}

.errorExplanation h2 {
	color: #9a0003;
	font-size: 16px;
	margin: 0;
	padding: 5px;

}

.errorExplanation p {
	margin: 5px;
}

.form.wide p.input .fieldWithErrors input, .form.wide p.sentence_input .fieldWithErrors input, .fieldWithErrors input, .fieldWithErrors textarea, .fieldWithErrors select {
	border: 1px solid red;
}

/* @end */

.form.wide {
	font-size: 16px;
	color: #454545;
}

.form p.input, .form p.submit {
	text-align: right;
	margin: 5px 0;
}

.form.narrow input {
	width: 10em;
}

.form.narrow p.submit input {
	width: auto;
}

.form.wide p.input {
	text-align: left;
	clear: left;
}

.form.wide p.input span {
	display: block;
	float: left;
	width: 230px;
	text-align: right;
	padding-right: 5px;
}


.form.wide p.input span.fieldWithErrors {
	display: inline;
	float: none;
	width: auto;
	text-align: left;
	padding: 0;
}

.form.wide p.input input, .form.wide p.input textarea {
	border: 1px solid #777;
	padding: 3px;
	margin: 0;
	width: 300px;
}

.form.wide p.input input.file {
	border: none;
	padding: 0;
}

.form.wide p.input.checkbox input {
	width: auto;
}

.form.wide p.sentence_input input {
	border: 1px solid #777;
	padding: 3px;
}

.form.wide p.sentence_input input.number_field {
	width: 3em;
}

.form.wide p.sentence_input input.text_field {
	width: 15em;
}

.form.wide p.block_input textarea {
	width: 100%;
	height: 10em;
}

.form.wide p.block_input textarea.content {
	height:  30em;
}

.form.wide p.submit, p.big_buttons {
	text-align: center;
	clear: left;
}

.form.wide p.submit input, a.big_button {
	font: 16px Georgia, "Times New Roman", Times, serif;
	border: 1px solid #af6660;
	border-bottom: 1px solid #6b2925;
	border-right: 1px solid #6b2925;
	background-color: #7f322c;
	color: #fff;
	padding: 5px 10px;
	-webkit-box-shadow: 3px 3px 8px #888;
	-moz-box-shadow: 3px 3px 8px #888;
}

.form.wide p.submit input:hover, a.big_button:hover {
	background-color: #923932;
	text-decoration: none;
}

.form.wide p.submit input:active, a.big_button:active {
	-webkit-box-shadow: 1px 1px 5px #888;
	-moz-box-shadow: 1px 1px 5px #888;
}



/* @end */

/* @group Lists */

ul, ol {
	display: block;
	margin: 1em 0;
	padding: 0 0 0 2em;
}

li {
	margin: .2em 0;
	padding: 0;
}

ol ol {
	list-style-type: upper-latin;
}

ol ol ol {
	list-style-type: decimal;
}

/* @end */

/* @group Flags */

.update {
	padding: 3px 10px;
	margin: 10px 0;
}

.update-info {
	margin: 3px 0 10px 0;
	color: #393939;
	font-size: 12px;
}

.update-info ul {
	list-style-type: square;
}

.update.odd {
	border-left: 2px solid #9c9c9c;
	border-bottom: 2px solid #9c9c9c;
	background-color: #e1ebf2;
}

.update.even {
	border-left: 2px solid #686868;
	border-bottom: 2px solid #686868;
	background-color: #ecf3f7;
}

div.comments {
	font-family: Georgia, "Times New Roman", Times, serif;
	padding: 5px 10px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.new-status {
	color: #f00;
	font-weight: bold;
}

.open-status {
	color: #00b100;
	font-weight: bold;
}

.invalid-status {
	color: #8e8e8e;
}

/* @end */

/* @group Home Page */

#get-started {
	float: right;
	padding: 0 20px;
	text-align: center;
}

#get-started p {
	margin: 0;
}

#get-started a {
	display: block;
	margin-top: 10px;
	font: 16px Georgia, "Times New Roman", Times, serif;
	border: 1px solid #af6660;
	border-bottom: 1px solid #6b2925;
	border-right: 1px solid #6b2925;
	background-color: #7f322c;
	color: #fff;
	padding: 10px 10px;
	text-decoration: none;
	-webkit-box-shadow: 3px 3px 8px #888;
	-moz-box-shadow: 3px 3px 8px #888;
}

#get-started a:hover {
	background-color: #923932;
}

#get-started a:active {
	-webkit-box-shadow: 1px 1px 5px #888;
	-moz-box-shadow: 1px 1px 5px #888;
}

#top10 {
	clear: both;
	padding-top: 20px;
}

/* @end */

/* @group Tournament */

#tournament-info {
	float: left;
	margin-bottom: 2em;
	width: 260px;
	padding-right: 10px;
}

#tournament-events {
	float: right;
	margin-bottom: 2em;
	width: 340px;
}

.tournament-event {
	clear: both;
	margin-top: 2em;
}

#tournament-administrators {
	clear: both;
}

#submit-scores {
	clear: both;
	float: right;
	text-align: center;
}

#submit-scores a {
	display: block;
	margin-top: 10px;
	font: 16px Georgia, "Times New Roman", Times, serif;
	border: 1px solid #af6660;
	border-bottom: 1px solid #6b2925;
	border-right: 1px solid #6b2925;
	background-color: #7f322c;
	color: #fff;
	padding: 5px 10px;
	text-decoration: none;
	-webkit-box-shadow: 3px 3px 8px #888;
	-moz-box-shadow: 3px 3px 8px #888;
}

#submit-scores a:hover {
	background-color: #923932;
}

#submit-scores a:active {
	-webkit-box-shadow: 1px 1px 5px #888;
	-moz-box-shadow: 1px 1px 5px #888;
}

/* @end */

/* @group Tournament List */

#tournament-list-title {
	margin: 0;
	background-color: #e5e5e5;
	padding: 5px;
}

#tournament-list {
	list-style-type: none;
	margin: 0 0 20px 0;
	padding: 0;
	float: left;
	width: 303px;
	border: 1px solid #e5e5e5;
	border-top: none;
	background-color: #fafafa;
}

#tournament-list li {
	display: block;
	margin: 0;
	overflow: hidden;
}

#tournament-list a {
	display: block;
	color: #454545;
	padding: 7px;
	background: url(images/arrow.png) no-repeat -25px center;
	-webkit-transition: all 0.2s ease-out;
}

#tournament-list a:hover {
	text-decoration: none;
	padding-left: 25px;
	background: #c6d8ff url(images/arrow.png) no-repeat -10px center;
}

#tournament-filters {
	float: right;
	width: 305px;
	margin: 0 0 20px 0;
	text-align: right;
}

#state-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#state-list li {
	cursor: pointer;
}

/* @end */

/* @group Profile */

table.summary {
	margin: 1em 0;
}

table.summary td {
  padding-right: 1em;
}

/* @end */

/* @group Pages */

.drag-handle {
	cursor: move;
	background-color: #9cd2fb;
}

#page-content li, #content-preview li {
	margin: 1em 0;
}

/* @group Typeout */

.preview {
	border-top: 1px solid #c7c7c7;
	border-bottom: 1px solid #c7c7c7;
	background-color: #f5f5f5;
	padding: 10px;
	font-size: 12px;
}

/* @end */

/* @end */

/* @group Scores */

.person_search_results {
	padding-bottom: 1em;
}

.person_search_results ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 1px solid #999;
}

.person_search_results li {
	display: block;
	margin: 0;
	padding: 4px;
	cursor: pointer;
}

.person_search_results li.odd {
	background-color: #e5e5e5;
}

.person_search_results li:hover {
	background-color: #bed4ff;
}

.person_search_results p {
	margin: 0;
	padding: 5px;
}

.clear_selected_person {
	color: #666;
	font-size: 12px;
	cursor: pointer;
}

.clear_selected_person:hover {
	color: #000;
}

/* @end */

